package com.xk857.modules.entities.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author cv大魔王
 * @version 1.0
 * @date 2021/9/5 10:56
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="查询所有新生", description="查询所有新生")
public class FindStudentReq {

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "性别 true男 false女")
    private Boolean gender;

    @ApiModelProperty(value = "班级")
    private String classes;

    @ApiModelProperty(value = "0中职 1普高 2其他")
    private Integer education;

    @NotBlank(message = "权限不足")
    @ApiModelProperty(value = "token")
    private String token;
}
